﻿using Caliburn.Micro;
using MusicExplorer.Internals;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace MusicExplorer.ViewModels
{
    public class RootViewModel : ViewModelBase
    {
        public RootViewModel(INavigationService navigationService)
             : base(navigationService)
        {
        }

        protected override void OnInitialize()
        {
            CurrentPage = (Page)ViewLocator.LocateForModelType(typeof(HomeViewModel), null, null);
        }

        private Page m_currentPage;
        public Page CurrentPage
        {
            get { return m_currentPage; }
            set { this.Set(ref m_currentPage, value); }
        }
    }
}
